package com.t235.gc.order.service;

import com.t235.gc.entity.GarbageRecyclingOrder;
import com.t235.gc.mapper.GarbageRecyclingOrderMapper;
import com.t235.gc.vo.RecyclingOrderVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class RecyclingOrderService {
    @Resource
    private GarbageRecyclingOrderMapper garbageRecyclingOrderMapper;

    public List<GarbageRecyclingOrder> getList(RecyclingOrderVo vo){
        return garbageRecyclingOrderMapper.getList(vo);
    }
    public int getCount(RecyclingOrderVo vo){
        return garbageRecyclingOrderMapper.getCount(vo);
    }
    public List<GarbageRecyclingOrder> getListByOrderId(String orderId){
        return garbageRecyclingOrderMapper.getListByOrderId(orderId);
    }
}
